html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: url('/assets/images/login_bg1.jpg') no-repeat center;
  background-size: cover;
}
/* 登录注册div样式 */
.loginAndRegBox {
    width: 400px;
    height: 310px;
    background-color: transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
  }
  /* 登录注册中标题的div样式 */
  .title-box {
    height: 60px;
    background: url('/assets/images/login_title.png') no-repeat center;
  }
  /* 隐藏注册div */
  .reg-box {
    display: none;
  }
  
  /* 登录注册表单 */
  .layui-form {
    padding: 0 30px;
  }
  
  /* 去注册和登录 超链接 容器样式 */
  .links {
    display: flex;
    justify-content: flex-end;
  }
  
  .links a {
    font-size: 12px;
  }

  /* 两个图标定位样式 */
  .layui-form-item {
    position: relative;
  }
  
  .layui-icon {
    position: absolute;
    left: 10px;
    top: 10px;
  }
  
  .layui-input {
    padding-left: 32px;
  }